package com.ruoyi.mateproduction.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.ruoyi.common.annotation.Excel;

import java.util.Date;

/**
 * @Author
 * @Version 1.0
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MateChildren {
    private Long transferModelId;//副表的主键id
    private Long childrenId;//主键id
    private Long mateproductId;//原材料的主键id
    private String enterNum;//批号
    private String mateProductName;//原材料名称
    private String mateProductBatch;//原材料批号
    private String mateProductType;//原材料型号
    private Long transferId;//生产工序传递卡的主键id
    private Long materialId;//供应商id
    private Long deptId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date creatTime;

    public Long getTransferId() {
        return transferId;
    }

    public void setTransferId(Long transferId) {
        this.transferId = transferId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public String getMateProductType() {
        return mateProductType;
    }

    public void setMateProductType(String mateProductType) {
        this.mateProductType = mateProductType;
    }

    public Long getTransferModelId() {
        return transferModelId;
    }

    public void setTransferModelId(Long transferModelId) {
        this.transferModelId = transferModelId;
    }

    public Long getChildrenId() {
        return childrenId;
    }

    public void setChildrenId(Long childrenId) {
        this.childrenId = childrenId;
    }

    public Long getMateproductId() {
        return mateproductId;
    }

    public void setMateproductId(Long mateproductId) {
        this.mateproductId = mateproductId;
    }

    public String getEnterNum() {
        return enterNum;
    }

    public void setEnterNum(String enterNum) {
        this.enterNum = enterNum;
    }


    public String getMateProductName() {
        return mateProductName;
    }

    public void setMateProductName(String mateProductName) {
        this.mateProductName = mateProductName;
    }

    public String getMateProductBatch() {
        return mateProductBatch;
    }

    public void setMateProductBatch(String mateProductBatch) {
        this.mateProductBatch = mateProductBatch;
    }

    public Long getMaterialId() {
        return materialId;
    }

    public void setMaterialId(Long materialId) {
        this.materialId = materialId;
    }
}
